#include "GlutStuff.h"
#include "btBulletDynamicsCommon.h"
#include "BasicDemo.h"
#include "LinearMath\btHashMap.h"

#include "ParticleSystem.h"
#include "MagnetInMotion.h"

int main(int argc, char** argv) {
	

	//ParticleSystem ps;
	

	//glutInitWindowSize(400, 400);
	//glutInitDisplayMode(GLUT_RGB | GLUT_DOUBLE | GLUT_DEPTH);
	//glutInit(&argc, argv);

	//glutCreateWindow("Magnet");



	MagnetInMotion ccdDemo;
	ccdDemo.initPhysics();




	//glutMainLoop();
	
#ifdef CHECK_MEMORY_LEAKS
	ccdDemo.exitPhysics();
#else
	return glutmain(argc, argv,1024,600,"Bullet Physics Demo. http://bulletphysics.org",&ccdDemo);
#endif
	
	return 0;
}